package create.factory;

import java.math.BigDecimal;

/**
 * @author lzp
 * @Date:2023/2/23
 * @description: 数字工厂转换的实现类
 */
public class NumberFactoryImpl implements NumberFactory {

	@Override
	public Number parse(String numberStr) {
		return new BigDecimal(numberStr);
	}

}
